/**
 * 
 */
package persistence.Factories;

import metier.Bean;
import persistence.DAO.DAO;
import persistence.DAO.XML.entities.DAOXMLUser;

/**
 * @author hozakan
 *
 */
public class DAOXMLFactory implements DAOFactory {

	@Override
	public DAO getDAO(Bean bean) {
		DAO dao = null;
		if (bean.getClass().equals(DAOXMLUser.class)) {
			dao = DAOXMLUser.getInstance();
		}
		return dao;
	}

}
